package edu.chinasoft.domain;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;
@Alias( "function" )
public
class Function implements Serializable {
    private int functionId;
    private String functionName;
    private String functionPath;
    private Function fatherFunction;

    public
    Function() {
    }

   

    public Function(int functionId, String functionName, String functionPath) {
		super();
		this.functionId = functionId;
		this.functionName = functionName;
		this.functionPath = functionPath;
	}



	public
    int getFunctionId() {
        return functionId;
    }

    public
    void setFunctionId(int functionId) {
        this.functionId = functionId;
    }

    public
    String getFunctionName() {
        return functionName;
    }

    public
    void setFunctionName(String functionName) {
        this.functionName = functionName;
    }

    public
    String getFunctionPath() {
        return functionPath;
    }

    public
    void setFunctionPath(String functionPath) {
        this.functionPath = functionPath;
    }

	public Function getFatherFunction() {
		return fatherFunction;
	}

	public void setFatherFunction(Function fatherFunction) {
		this.fatherFunction = fatherFunction;
	}

}
